//
//  UIColor+Extension.swift
//  WanAndroidLearn
//
//  Created by TRS-Mobile on 2023/11/2.
//

import Foundation
import UIKit

extension UIColor {
    static func primary() -> UIColor {
        return themeService.type.associatedObject.primary
    }
    
    static func primaryDark() -> UIColor {
        return themeService.type.associatedObject.primaryDark
    }
    
    static func secondary() -> UIColor {
        return themeService.type.associatedObject.secondary
    }
    
    static func secondaryDark() -> UIColor {
        return themeService.type.associatedObject.secondaryDark
    }
    
    static func separator() -> UIColor {
        return themeService.type.associatedObject.separator
    }
    
    static func text() -> UIColor {
        return themeService.type.associatedObject.text
    }
}
